package com.fastfk.fkgenerator.config;

/**
 * @info: MySql连接配置
 * @author: yuzhiqiang
 * @mail: yuzhiqiang@tieserv.com
 * @date: 2019/11/28 15:26
 * @vesion: 0.0.1
 */

public class ToolConfig {
    public static final String CON_URL="jdbc:mysql://127.0.0.1:3306/test_db?useUnicode=true&useSSL=false&characterEncoding=utf8&allowPublicKeyRetrieval=true&&serverTimezone=UTC";
    public static final String DRIVER="com.mysql.cj.jdbc.Driver";
    public static final String USER_NAME="root";
    public static final String PASSWORD="root3306";

    /**
     * 生成的dao、service等类去掉表前缀
     */
    public static final String NOT_TABLE_PREFIX="w_";

    /**
     * 实体类是否支持swagger2
     */
    public static final boolean IS_SWAGGER2 = true;

    /**
     * 是否直接输出文件到项目下
     */
    public static final boolean OUTPUT_PROJECT = true;

    /**
     * 项目包根路径
     */
    public static final String PARENT_PACKAGE="cn.com.w.mybatisplus";

    /**
     * DAO、MAPPER包名称
     */
    public static final String MAPPER_PACKAGE="dao";

    /**
     * SERVICE包名称
     */
    public static final String SERVICE_PACKAGE="service";

    /**
     * SERVICE IMPL包名称
     */
    public static final String SERVICE_IMPL_PACKAGE="service.impl";

    /**
     * ENTITY包名称
     */
    public static final String ENTITY_PACKAGE="domain";

    /**
     * Controller包名称
     */
    public static final String CONTROLLER_PACKAGE="controller";

    /**
     * mapper.xml文件路径
     */
    public static final String XML_PATH="mybatis";
}
